package com.bw.zg3park2212.adpter

import android.widget.BaseAdapter
import com.bw.base.entity.EmpEntityItem
import com.bw.zg3park2212.R
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder

class EmpAdpter:BaseQuickAdapter<EmpEntityItem,BaseViewHolder>(R.layout.item_emp) {
    override fun convert(helper: BaseViewHolder, item: EmpEntityItem) {
        helper.setText(R.id.emp_name,item.name)
        helper.setText(R.id.emp_email,item.email)
        helper.setText(R.id.emp_depart,item.departmentName)
    }
}